#pragma once

#include "GamePart.h"

namespace _DATAPART_
{
	namespace _GAME_
	{

		class Function:
			public GamePart
		{
			FoDeclareRTTI;
		public:
			Function(void);
			~Function(void);
		protected:
		//	void CopyFrom(aDataPartBase* ptrSource){};

		};
	}
}

namespace _DATAPARTFACTORY_
{
	namespace _GAME_
	{
		class FunctionFactory
			:public GamePartFactory
		{
		public:
			FunctionFactory(void);
			~FunctionFactory(void);

			_FOGGE_::_GDB_::aDataPartBase* LoadPart(TiXmlNode* ptrNode);
			
			_FOGGE_::_GDB_::aDataPartBase* CreatePart();

		};
	}
}

